
package Ejercicios_salon;

public class Main {


    public static void main(String[] args) {
       String x= "555";
       int s =Integer.parseInt(x);
       System.out.println("Int: "+ x);

       Double b = new Double(s);
        System.out.println("Double: "+b );

        Byte n=new Byte(b.byteValue());
        System.out.println("Byte: "+n);

        Float v = new Float(n);
        System.out.println("Float: "+v);

        Integer k=new Integer(v.intValue());
        System.out.println("Integer: "+k);

        Short l= new Short(k.shortValue());
        System.out.println("Short: "+ l);

        Long m = new Long(l.longValue());
        System.out.println("Long: "+m);
boolean z= Boolean.parseBoolean(l.toString());
        System.out.println("Boolean: "+z);


    }

}
